import { Boss } from "src/boss/entities/boss.entity";
import { Column, Entity, PrimaryGeneratedColumn } from "typeorm";


@Entity({ name: "order" })
export class Order extends Boss {

    @Column({ name: "orderId", type: "text", comment: "订单号" })
    orderId: string

    @Column({ name: "createTime", type: "bigint", comment: "创建时间" })
    createTime: number
    @Column({ name: "playWiths", type: "text", comment: "陪玩 多个" })
    playWiths: string
    @Column({ name: "orderTime", type: "int", comment: "消费时间" })
    orderTime: number

    @Column({ name: "price", type: "int", comment: "消费金额" })
    price: number

}
